#include <stdio.h>

unsigned int my_strlen(const char *str)
{
    int length = 0;
    while(*str != '\0')
    {
        length++;
        str++;
    }
    return length;
}

int main(int argc, char const *argv[])
{
    char *str = "abcde"; 

    int length = my_strlen(str);
    printf("%d\n",length);
    return 0;
}
